package com.example.zg3_park.fg

import com.alibaba.android.arouter.launcher.ARouter
import com.blankj.utilcode.util.ToastUtils
import com.example.lib_base.mvvm.BaseViewFragment
import com.example.zg3_park.R
import com.example.zg3_park.databinding.FragmentServiceBinding


class ServiceFragment : BaseViewFragment<FragmentServiceBinding>() {
    override fun intiView() {
        binding.tvPark.setOnClickListener {
            //start("/park/ParkActivity")
            ARouter.getInstance().build("/app/CarTypeActivity").navigation()
        }

        binding.tvRepair.setOnClickListener {
            ARouter.getInstance().build("/app/RepairActivity").navigation()
        }

        binding.llView.setOnClickListener {
            ARouter.getInstance().build("/app/ViewActivity").navigation()
        }
    }

    fun start(url:String) {
        ARouter.getInstance().build(url).navigation()
    }
    override fun intiData() {

    }

}